home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / term-2.3.5 / FAQ < prev    next >
Encoding:
Text File  |  1995-07-14  |  5.9 KB  |  155 lines

  1. 1) Term doesn't work! Why not??!!
  2.  
  3.     This is one of the most tremendously useful questions I have
  4. ever been asked. You will notice that it contains all the pertinent
  5. information I might want to know, like what version of term they are
  6. using, and exactly what the symptoms are, and what machine they are
  7. running it on, and what they have tried, etc etc. However here are a
  8. few things to try before mailing me with details. :)
  9.  
  10.     a) Create a ~/.term/termrc file at both ends with the two
  11. lines "escape 0-31" and "escape 128-159" in it. Then try term. If this
  12. works, try shortening the ranges as much as possible. Experience
  13. indicates that most people will be able to get away with either
  14. nothing, or "escape 17" and "escape 19", or escaping 17, 19, 145 and
  15. 147. 
  16.  
  17.     b) If 'a' doesn't work, it's possible that you have a
  18. seven-bit line. Try using a termrc with the two lines "sevenbit"
  19. and "escape 0-31" in it. It is important to know that the termrc at
  20. each end must have 'sevenbit' in it.
  21.     
  22.     If you do need to mail me please include as much of the following
  23. list as is relevant:
  24.         Term version(s):
  25.         Remote system:
  26.         Local system:
  27.         Local modem type & UART type:
  28.         Remote modem type & UART type, if known:
  29.         A detailed description of the problem.
  30.         A description of what you have tried.
  31.         A transcript of the problem, if possible.
  32.         Code that produces the problem, if possible.
  33.         A patch to fix it, if you know the solution.
  34.  
  35. 2) Term doesn't run as fast as it should. Why not??
  36.  
  37.     Several ways to speed up term. Here are the most common...
  38.     a) Escape as few characters as possible. Escaping 32 characters will
  39. cut thru-put by about 12-15%.
  40.  
  41.     b) If you escape a character on one end, add a corresponding 'ignore'
  42. on the other. I.e. if you 'escape 17' on the remote end, put a 'ignore 17'
  43. on the local end.
  44.  
  45.     c) Sevenbit mode will completely block all compression.  This means
  46. term won't compress and neither will your modem.  However this is still
  47. more efficient than escape 128-255.  This will probably be fixed with a
  48. future release.
  49.  
  50.     d) There is still a little black magic involved in getter term to run
  51. at full speed.  By this I mean, I can't describe a step by step procedure
  52. for all situations, but normally with enough playing with termrc options,
  53. modem settings, and stty settings you can get 99% performance.  Usually,
  54. the best way to learn how to optimize speed, is to try it first with no
  55. hardware problems.  To do this, try running termtest as:
  56.  
  57.     './termtest -s <your baudrate>',
  58.  
  59. and optimize the speed to better than <your baudrate>/9 cps with the termrc
  60. file.  Then putting in your serial line's restrictions such as escape
  61. characters, sevenbit, stop bits, etc.  Now at any time you should be
  62. able to use ./termtest to determine what is the maximum speed you should
  63. be obtaining for compressed data.
  64.  
  65. 3) 'txconn' doesn't seem to work.
  66.  
  67.     a) Make sure you have 'xhost +' on both machines.
  68.  
  69.     b) X windows take awhile to open; be patient.
  70.  
  71.     c) Make sure you are running txconn on your remote machine, not your
  72. local machine.
  73.  
  74.     d) The syntax of txconn for term 2.X is slightly different than 
  75. from term 1.X.  Be sure to read the manual page.
  76.  
  77.         e) Try instead "tredir 6009 6000"
  78.  
  79. 4) X windows take a long time to open, and then run very slowly.
  80.  
  81.     a) Try picking up a copy of sxpc from sunsite.unc.edu.  Don't ask
  82. me how to install it; I've never used it.  Expect about 20% speed
  83. improvement.
  84.  
  85.     b) Try compiling your favorite X applications on your home machine.
  86. For applications like xarchie, this is a big win.
  87.  
  88. 5) Trsh just hangs when I execute it.
  89.  
  90.     Trsh is an endless source of problems.
  91.  
  92.     a) Try using something simple like:
  93.  
  94.                trsh -s echo trsh works in simple mode
  95.  
  96.     If this works, then you can use "trsh" with the "-s" option.  Try
  97. defining NO_PTYEXEC in config.h and recompile.
  98.  
  99.     b) Try using telnet instead.  i.e. Do once "tredir 4023 23".  Then
  100. you should be able to connect with the command "telnet localhost 4023".  If
  101. this works, you may wish to recompile telnet with the instructions in 
  102. README.porting, so you don't have to do the tredir command every time you
  103. establish a term connection.  Also, you can compile rlogin, so you don't have
  104. to login every time.
  105.  
  106. 6) Is there a term mailing list? 
  107.  
  108.      Yes there is; it is a channel of the linux-activists stuff.  Try
  109. mailing:
  110.  
  111.   echo X-Mn-Admin: join term | mail linux-activists-request@niksula.hut.fi
  112.  
  113. A help file is available upon request from the same address.
  114.  
  115. 7) Is there a term internet news group?
  116.  
  117.     No, but please use comp.protocols.misc.  If the traffic gets large
  118. enough, someone can propose a split for term.
  119.  
  120. 8) I get a : gethostbyname: ...  error when term starts.  Why?
  121.  
  122.     This means that your `hostname` is not set properly set.  Term will
  123. still work despite this error, but won't automatically recognize your hostname.
  124.  
  125. 9) I did tredir 4021 21, but people still can't ftp my machine.
  126.  
  127.     You need inetd.term.tar.gz  There is a copy on physics.purdue.edu.
  128. It should appear at other sites sometime.  Also, in.ftpd needs to be compiled
  129. with term support.
  130.  
  131. 10) Is there an easier way to port software than recompiling?
  132.  
  133.     Under Linux, you can use "termify", also available on
  134. physics.purdue.edu.  Eventually "termify" may be ported to other
  135. OS's that use shared libraries.
  136.  
  137.     Under Solaris 2.x, you can use "termwrap".  Unlike "termify" it
  138. uses LD_PRELOAD, so SUID programs won't work.  Unfortunately, the
  139. same trick won't work under Linux yet...  (Although, people are 
  140. working on it. LD_PRELOAD works, but you can't access the original
  141. functions yet.  At least that is what I was told last time I checked.)
  142.  
  143. 11) I've termified in.ftpd and am using inetd.term, but I get the following
  144. error when I try transferring data:
  145.  
  146. 425 Can't build data connection -1 7f000001 2104: Transport endpoint is already connected.
  147. connected.
  148.  
  149.     I don't understand why, but from neither the localhost or remotehost
  150. can you use the name 'localhost' with termified in.ftpd.  If you simply use
  151. the full hostname instead, it should work.  i.e. ftp localhost 4021 fails,
  152. but ftp `hostname` 4021 works.
  153.  
  154.  
  155.